package cn.edu.scau.cmi.xuchuangxiong.composite.consistent;

public class Person extends Team {
	private String name;
	private int level;
	
	public int getLevel() {
		return level;
	}

	public void addMember(Team t)
	{
		
	}
	
	public void removeMember(Team t)
	{
		
	}
	
	public Team getMember(int index)
	{
		
		return null;
	}
	
	public void setLevel(int level) {
		this.level = level;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	public Person(String name)
	{
		this.name = name;
	}

	@Override
	public void printMember() {

		System.out.println(name);
		
	}
	
}
